# -*- coding: utf-8 -*-
from application import app
import www

def main():
    # 直接启动Flask应用
    app.run(host='0.0.0.0', port=app.config['SERVER_PORT'], debug=True)

if __name__ == '__main__':
    try:
        main()
    except Exception as e:
        import traceback
        traceback.print_exc()